package com.caoaman.sharding.model;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * @ClassName: Order
 * @Description: 订单表
 * @Author: CaoAMan
 * @Create: 2021-12-18 16:15
 */
@Data
@Accessors(chain = true)
@TableName("t_order")
@AllArgsConstructor
@NoArgsConstructor
public class Order {

    private String id;

    private Integer aId;

    private Integer bId;

    private Integer cId;

    private Integer dId;

    private Integer eId;

    private Date saveTime;

    private Long saveTimeCom;

    private Integer param1;

    private Integer param2;

    private Integer param3;

    private Integer param4;

    private Integer param5;

    private Integer param6;

    private Float param7;

    private Float param8;

    private Float param9;

    private Float param10;

    private Float param11;

    private Float param12;

    private Float param13;

    private Float param14;

    private Float param15;

    private Float param16;

    private Float param17;

    private Float param18;

    private Float param19;

    @TableField(exist = false)
    private String remark;

    public Order(int aId, int bId, int cId, int dId, int eId,
                 Date saveTime, long saveTimeCom, int param1,
                 int param2, int param3, int param4, int param5,
                 int param6, float param7, float param8, float param9,
                 float param10, float param11, float param12, float param13, float param14,
                 float param15, float param16, float param17, float param18, float param19) {
        this.aId = aId;
        this.bId = bId;
        this.cId = cId;
        this.dId = dId;
        this.eId = eId;
        this.saveTime = saveTime;
        this.saveTimeCom = saveTimeCom;
        this.param1 = param1;
        this.param2 = param2;
        this.param3 = param3;
        this.param4 = param4;
        this.param5 = param5;
        this.param6 = param6;
        this.param7 = param7;
        this.param8 = param8;
        this.param9 = param9;
        this.param10 = param10;
        this.param11 = param11;
        this.param12 = param12;
        this.param13 = param13;
        this.param14 = param14;
        this.param15 = param15;
        this.param16 = param16;
        this.param17 = param17;
        this.param18 = param18;
        this.param19 = param19;
    }
}
